Repository navigation
id: gallery admission with public removals, review posture and transparency list - #11726
Merged
Merged
Conversation
…list Removals, refusals and reinstatements from the hosted gallery are written to an append-only transparency list (record identity, time, reason class) and served at /api/gallery/transparency. A removal hides the record from this endpoint only and keeps its bundle, so a reinstatement reverses it. Posture (open or reviewed) and per-class response hours are configuration in operator/admission.json, and 'id gallery' administers removals, appeals, review, posture and the operator's tags offline. Closes #10005 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dezren39
marked this pull request as ready for review
November 18, 2026 06:42
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 56 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before: the hosted gallery listed every verified bundle, and the only way to stop listing one was a silent delete of its file. There was no public record of removals, no way to reverse one, and no review step before listing.
After: every removal, refusal and reinstatement is public.
id gallery --dir <dir> remove <hash> --reason malware|spam|policy|illegal_content [--note ...]stops listing a record here only. The bundle file stays, other hosts are unaffected, and a fetch of it answers 410 Gone with the entry that explains why.id gallery ... reinstate <hash>reverses a removal or refusal (an appeal upheld) and lists it again.GET /api/gallery/transparency?after=&limit=serves the list (sequence, time, action, record identity, reason class, optional note), paged, with the admission posture and any stated response times.id gallery ... posture open|reviewedwritesoperator/admission.json. Underreviewed, new records wait inid gallery ... pendinguntilapprove, or are publiclyrefused. Switching posture changes what is listed at once.id gallery ... response-hours <class> [hours]states or withdraws a response time per reason class, published with the list. Both posture and SLA stay unset defaults (open, no stated hours) until Drew rules on them.id gallery ... tag --program <hash>|--author <key> [tags...]administers the operator overlay.How: a new
program_gallery_admissionmodule holds the append-onlyTransparencyList(checked on load: contiguous sequence, a reinstatement must reverse the record's latest decision with the same class), theAdmissionConfig, and approvals, stored underoperator/.Galleryfilters list, fetch, search and author pages through it, and its old silentremovenow goes through the list.Registrygainslist_whereandget. The CLI edits the directory offline; a running server picks changes up on restart.Testing:
cargo test -p id-worlds --lib -- program_(64 passed),cargo test -p id-web --lib -- gallery(6 passed),cargo test -p id-cli --lib -- gallery(3 passed). Clippy on all three crates shows no new warnings.Closes #10005
Generated by Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.